<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <!--[if lt IE 9]>
    <script type="text/javascript" src="../../../lib/html5shiv.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../lib/respond.min.js?rev=@@hash"></script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui/css/H-ui.min.css" />
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/css/H-ui.admin.css" />
    <link rel="stylesheet" type="text/css" href="../../../lib/Hui-iconfont/1.0.8/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/skin/default/skin.css" id="skin" />
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/css/style.css" />
    <link rel="stylesheet" type="text/css" href="../../../ht-css/Project.css" />
    <!--[if IE 6]>
    <script type="text/javascript" src="../../../lib/DD_belatedPNG_0.0.8a-min.js?rev=@@hash"></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <title>账号管理</title>
</head>
<body>
<article class="page-container">
    <form class="form form-horizontal" id="form-member" novalidate style="" enctype="multipart/form-data">
        <div class="row cl">
            <label class="form-label col-sm-2">*端口：</label>
            <div class="formControls col-sm-9" style="padding-top: 3px">
                <input type="radio" class="" value="" name="duankou" id="yidong" onclick="changeDuankou()">移动端
                <input type="radio" class="" value="" name="duankou" id="pc" onclick="changeDuankou()">PC端
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-sm-2" >*活动名称：</label>
            <div class="formControls col-sm-9" style="width: 755px" >
                <input type="text" class="input-text" value="" style="width: 99%" oninput="checkMaxIut(this)" autocomplete="off" placeholder="请输入标题" id="title" name="title" required>
            </div>
            <div class="formControls w-700 f-l">
                <span id="textSpan">0</span>/<span id="commonText"></span>字符
            </div>
        </div>

        <div class="row cl">
            <label class="form-label col-sm-2">*文章内容：</label>
            <div id="editor" class="formControls col-sm-9">
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-sm-2">*时间设置：</label>
            <div class="formControls col-sm-9">
                <span class="wstxt"></span>
                <input type="text" class="workinput wicon input-text radius w-135" id="logmin" readonly placeholder="请选择生效时间" required name="a">~
                <input type="text" class="workinput wicon input-text radius w-135" id="logmax" readonly placeholder="请选择失效时间" required name="b">
            </div>
        </div>
        <!-平台选择-->
        <div class="row cl">
            <label class="form-label col-sm-2">*平台选择：</label>
            <div class="formControls col-sm-9">
                <span class="il-b mr-20"><input class="mr-5 checkBox b" type="checkbox" value="0" id="putong"  onclick="changePingtai()">普通平台</span>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-sm-2"></label>
            <div class="formControls col-sm-9">
                <span class="il-b mr-20"><input class="mr-5 checkBox a" type="checkbox" value="0" id="qianyue" onclick="changePingtai()">签约平台</span>
                <span class="ml-20" id="kehuleixing" style="display: none">
                    <span>*客户类型</span>
                    <input type="checkbox" class="checkBox ml-10" value="" id="fen" onclick="changeKehu()">分销客户
                    <input type="checkbox" class="checkBox ml-10" value="" id="nofen" onclick="changeKehu()">非分销客户
                </span>
            </div>
        </div>

        <!-地域筛选-->
        <div class="row cl">
            <label class="form-label col-sm-2">*地域筛选：</label>
            <div class="formControls col-sm-9">
                <label><input type="checkbox" checked="checked" onclick="goodselection()" id="saleAreas"/>全选&nbsp;&nbsp;</label>
                <span id="yunyingwareHous">  </span>
            </div>
        </div>
        <div class="row cl">
            <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-2">
                <button class="btn btn-primary radius" type="submit">&nbsp;&nbsp;保存&nbsp;&nbsp;</button>
                <button onclick="removeIframe();" class="btn radius ml-10" type="button">&nbsp;&nbsp;取消&nbsp;&nbsp;</button>
            </div>
        </div>
    </form>
</article>

<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="../../../lib/jquery/1.9.1/jquery.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/layer/2.4/layer.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../static/h-ui/js/H-ui.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../static/h-ui.admin/js/H-ui.admin.js?rev=@@hash"></script>
<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="../../../lib/My97DatePicker/4.8/WdatePicker.js?rev=@@hash"></script>
<!--表单验证-->
<script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/jquery.validate.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/validate-methods.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/messages_zh.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/datatables/1.10.0/jquery.dataTables.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/laypage/1.2/laypage.js?rev=@@hash"></script>
<script src="../../../ht-js/frame/doT.min.js?rev=@@hash"></script>
<script src="../../../ht-js/public.js?rev=@@hash"></script>
<!--验证token-->
<script src="../../../ht-js/verifyToken.js?rev=@@hash"></script>
<script src="../../../ht-js/Project.js?rev=@@hash"></script>
<script src="../../../ht-js/operation-js/operation_activity/activity_add.js" ></script>
<link type="text/css" rel="stylesheet" href="../../../ht-js/operation-js/time-js/jedate.css">
<script type="text/javascript" src="../../../ht-js/operation-js/time-js/jquery.jedate.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../ht-js/operation-js/wangeditor/wangEditor.js?rev=@@hash"></script>

<script type="text/javascript" charset="utf-8" src="../../../ht-js/operation-js/ueditor/ueditor.config.js?rev=@@hash"></script>
<script type="text/javascript" charset="utf-8" src="../../../ht-js/operation-js/ueditor/ueditor.all.min.js?rev=@@hash"></script>
<!--仓库信息-->
<script src="../../../ht-js/dynamicWarehouse.js?rev=@@hash"></script>
<script type="text/javascript">
    var ue = UE.getEditor('editor',{
        enterTag:'' ,
        autoHeightEnabled: true,
        autoFloatEnabled: true,
        initialFrameWidth: 1000,
        initialFrameHeight:483
    });
    UE.Editor.prototype._bkGetActionUrl = UE.Editor.prototype.getActionUrl;
    UE.Editor.prototype.getActionUrl = function(action) {
        if (action == 'uploadimage' || action == 'uploadvideo' || action == 'uploadfile' ) {
            return root.sroreinter.ueditor; //在这里返回我们实际的上传图片地址
        } else {
            return this._bkGetActionUrl.call(this, action);
        }
    }
</script>
<script>

    var start = {
        format: 'YYYY-MM-DD hh:mm:ss',
//        minDate: $.nowDate().substring(0,$.nowDate().length-8)+"00:00:00",
        clearfun:function(val) {
//            start.minDate =$.nowDate().substring(0,$.nowDate().length-8)+"00:00:00";
            start.maxDate ="2099-12-31 23:59:59";
            end.minDate="1900-01-01 00:00:00";
            end.maxDate ="2099-12-31 23:59:59";
        },
        okfun: function(obj){
//            end.minDate = obj.val.substring(0,obj.val.length-8)+"00:00:00";
            endDates();
        }
    };
    var end = {
        format: 'YYYY-MM-DD hh:mm:ss',
        clearfun:function(val) {
//            start.minDate =$.nowDate().substring(0,$.nowDate().length-8)+"00:00:00";
            start.maxDate ="2099-12-31 23:59:59";
            end.maxDate ="2099-12-31 23:59:59";
        },
//        okfun: function(obj){
//            start.maxDate = obj.val; //将结束日的初始值设定为开始日的最大日期
//            startDates();
//        }
    };
    //这里是日期联动的关键
    function endDates() {
        //将结束日期的事件改成 false 即可
        end.trigger = false;
        $("#logmax").jeDate(end);
    }
    $('#logmin').jeDate(start);
    $('#logmax').jeDate(end);

    $(function(){
        //var ue = UE.getEditor('editor');
        $("#form-member-add").validate({
            rules: {
                username: {
                    required: true,
                },
                inform: {
                    required: true,
                    maxlength: 80,
                },
                email:{
                    required: true,
                    email:true
                },
                moli:{
                    required: true,
                }
            },
            onkeyup: false,
            focusCleanup: true,
            success: "valid",
            submitHandler:function(form){
            }
        })
        web.loadMyk();
    });
    /*角色编辑*/
    function roles_edit(title,url,id,w,h){
        layer_show(title,url,w,h);
    }
</script>
<!--<style>-->
<!--.error{-->
<!--color:red;-->
<!--}-->
<!--</style>-->
</body>
</html>